package org.elanfox.intellicommunity.biz.dto.msg;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.elanfox.intellicommunity.biz.entity.msg.LocationMsgPO;

/**
 * @author allan
 * @version 1.0.0
 * @date 2019/12/19
 */
@Data
@NoArgsConstructor
public class LocationMsgDTO extends MsgBaseDTO {
    private static final long serialVersionUID = 8513645607197656281L;

    private Long lastId;

    public LocationMsgDTO(LocationMsgPO msgPO) {
        super(msgPO);
        this.lastId = msgPO.getLastMsgId();
    }
}
